

#ifndef example15_1_DogHero_h
#define example15_1_DogHero_h
#include "cocos2d.h"
using namespace cocos2d;

class DogHero : public CCNode, public CCTargetedTouchDelegate
{
public:
	//CCSprite* lefthand;
	//CCSprite* righthand;
	CCPoint offset;
	//CCSprite *mainsprite;
	CCSprite *dog;
	bool iscontrol;
	DogHero(void);
	virtual ~DogHero(void);
	void releasebullet(float ft);
	CCRect rect();
	virtual void onEnter();
	virtual void onExit();
	bool containsTouchLocation(CCTouch* touch);
	virtual bool ccTouchBegan(CCTouch* touch, CCEvent* event);
	virtual void ccTouchMoved(CCTouch* touch, CCEvent* event);
	virtual void ccTouchEnded(CCTouch* touch, CCEvent* event);
	//void changeHeroRole(CCObject* pSender);
	virtual void touchDelegateRetain();
	virtual void touchDelegateRelease();
	//void updateHero(float ft);
};


#endif
